package com.zmzncs.lmtc.module.system.pojo.user;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author 任建波
 * @since 2019-09-10
 */
@Data
public class UserInfoVO implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 员工表
     */
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long id;

    /**
     * 员工名称
     */
    private String username;

    /**
     * 账号
     */
    private String account;

    @ApiModelProperty(value = "性别 1：男，0，女")
    private Integer sex;

    /**
     * 角色id
     */
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long roleId;

    @ApiModelProperty(value = "权限id数组")
    private Long[] permissionIds;

    @ApiModelProperty(value = "权限code数组")
    private String[] permissionCodes;

    @ApiModelProperty(value = "手机号")
    private String mobilephone;

    /**
     * 头像
     */
    private String avatar;

}
